package com.ihd.ihardware.view.tzc.me.view;

import android.arch.lifecycle.AndroidViewModel;
import android.os.Bundle;

import com.ihd.ihardware.R;
import com.ihd.ihardware.databinding.ActivityAboutBinding;
import com.ihd.ihardware.pojo.UserInfoRes;

import cn.wowjoy.commonlibrary.base.BaseActivity;
import cn.wowjoy.commonlibrary.utils.APKVersionCodeUtils;
import cn.wowjoy.commonlibrary.widget.MDialog;

public class AboutActivity extends BaseActivity<ActivityAboutBinding, AndroidViewModel> {

    private UserInfoRes.DataBean ud;
    private MDialog dg;

    @Override
    protected void init(Bundle savedInstanceState) {
        mImmersionBar.statusBarDarkFont(true).init();
        binding.mtitlebar.setTitle("关于我们");
        binding.mtitlebar.setLeftBack(this);

        binding.version.setText(APKVersionCodeUtils.getVerName(this));
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_about;
    }

    @Override
    protected Class getViewModelClass() {
        return AndroidViewModel.class;
    }
}
